package com.baomidou.springwind.test;

import java.util.Random;

/**
 * Created by Administrator on 2016/12/19.
 */
public class Seeder {
    private int rang;

    private Random random = new Random();

    public Seeder(int rang) {
        this.rang = rang;
    }

    public int getValue() {
        return random.nextInt(rang);
    }
}
